GXGetViewPortParent
You can use theGXGetViewPortParent
function to retrieve the parent view port of a view port object.
gxViewPort GXGetViewPortParent(gxViewPort source);
- source
- A reference to the view port whose parent you want to examine.
- function result
- A reference to the source view port's parent view port.
DESCRIPTION
TheGXGetViewPortParent
function returns the parent view port of the source view port, ornil
if the view port has no parent (that is, if it is the root view port in a hierarchy).ERRORS, WARNINGS, AND NOTICES
Errors invalid_viewPort_reference SEE ALSO
For information about view port hierarchies and the parent view port property, see "Parent and Child View Ports" beginning on page 7-18.To set the parent of a view port, use the
GXSetViewPortParent
function, described next.To get the child view port list of a view port, use the
GXGetViewPortChildren
function, described on page 7-86. To set the child view port list of a view port, use theGXSetViewPortChildren
function, described on page 7-87.